cmake_minimum_required(VERSION 3.27)
project(test_zeroMq)

set(CMAKE_CXX_STANDARD 17)

set(EXECUTABLE_OUTPUT_PATH ${EXEC_PATH})

include_directories(${HEAD_PATH})

add_executable(modbusTcpMaster
        CDataUnit.h
        main.cpp
        CModbusMap.cpp
        CModbusMap.h
)

find_package(Boost REQUIRED COMPONENTS thread system)

target_link_libraries(modbusTcpMaster -lzmq Boost::thread Boost::system modbus redis++ ${OS_LIB} ${MODEL_DEVICE_LIB})
